package com.amado.course03;

public class ComplexOperator {
	public static void main(String[] args) {
		// +=，-=，*=，/=，%=
		int a = 2;
		// 相当于a = a+2;
		a += 2;
		System.out.println(a);
		int b = 4;
		// b = b-2 4-2
		b -= 2;
		System.out.println(b);
		int c = 3;
		// c = c*3
		c *= 3;
		System.out.println(c);
		int d = 4;
		// d = d/2
		d /= 2;
		System.out.println(d);

	}
}
